package cn.com.api.mapper;
import java.math.BigDecimal;
import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;

import cn.com.api.entity.ApiT_order_return;
import cn.com.api.mapper.base.T_order_returnMapperBase;
import cn.com.util.PageInfo;

//DAO
public interface ApiT_order_returnMapper extends T_order_returnMapperBase {

 	//新增对象后返回记录ID
    public int T_order_returnInsertion(ApiT_order_return t_order_return);
    
    public void updateStatusById(@Param(value="id")String id,@Param(value="status")String status);
    
    public void updateMoneyById(@Param(value="id")String id,@Param(value="money")BigDecimal money);
    
    public void updateDisReasonById(@Param(value="id")String id,@Param(value="disReason")String disReason);
    public List<ApiT_order_return> findOrderReturnsListPage(@Param("cond")Map<String, Object> cond,
			@Param("page")PageInfo page);
}


